<template>
  <a-config-provider :locale="locale">
    <div id="app" >
      <router-view/>
    </div>
  </a-config-provider>
</template>

<script>
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
import { AppDeviceEnquire } from '@/utils/mixin'
import Vue from "vue"
/* eslint-disable */
export default {
  mixins: [AppDeviceEnquire],
  data () {
    return {
      locale: zhCN
    }
  },
  beforeMount(height) {
    let h = document.documentElement.clientHeight || document.body.clientHeight;
    Vue.prototype.clientHeight = h-360;
  },
  mounted () {

  }
}
</script>
<style>
  #app {
    height: 100%;
  }
</style>
